package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.QueryPageBeanCondition;
import com.itheima.entity.Result;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.CheckItem;

import java.util.List;

public interface CheckGroupService {

	void add(CheckGroup checkGroup, Integer[] checkitemIds);

	PageResult pageQuery(QueryPageBeanCondition queryPageBeanCondition);

	//Result deleteById(Integer id);

	CheckGroup findGroupById(Integer id);

	void edit(CheckGroup checkGroup, Integer[] checkitemIds);

	List<Integer> findItemById(Integer id);

	List<CheckGroup> findAll();
}
